package net.oschina.app.Page;

import android.widget.TextView;

import net.oschina.app.SoloWrap;

/**
 * Created by kola on 2017/3/24.
 * 退出页面page类抽取
 */

public class PageLogOut {
    private SoloWrap solo;
    TextView logOut;


    public PageLogOut(SoloWrap solo) {

        this.solo = solo;
    }

    public void initViews() {
        solo.waitForText("意见反馈");
//        注销
        logOut = (TextView) solo.getView("net.oschina.app:id/rl_cancle");

    }

    public void clickOnLogOut() {
        solo.clickOnView(logOut);
    }
}
